<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	 
	 <meta name="description" content="XDMF parallel partitioned mesh I/O on top of HDF5">
    
    <meta name="author" content="Víctor Sande Veiga" >
    <link rel="icon" href="../favicon.png">

    <title>wxml_example &ndash; XH5For</title>

    <link href="../css/bootstrap.min.css" rel="stylesheet">
    <link href="../css/pygments.css" rel="stylesheet">
    <link href="../css/font-awesome.min.css" rel="stylesheet">
    <link href="../css/local.css" rel="stylesheet">
    

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <script src="../js/jquery-2.1.3.min.js"></script>
    <script src="../js/svg-pan-zoom.min.js"></script>

  </head>

  <body>

    <!-- Fixed navbar -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="../index.html">XH5For </a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
				
            <li class="dropdown hidden-xs visible-sm visible-md hidden-lg">
              <a href="#" class="dropdown-toggle"
              data-toggle="dropdown" role="button"
              aria-haspopup="true"
		 aria-expanded="false">Contents <span class="caret"></span></a>
	      <ul class="dropdown-menu">
              
            <li><a href="../lists/files.html">Source Files</a></li>
				
				
            <li><a href="../lists/modules.html">Modules</a></li>
				
            
                                
            <li><a href="../lists/procedures.html">Procedures</a></li>
				
								
            <li><a href="../lists/types.html">Derived Types</a></li>
				
				
            <li><a href="../lists/programs.html">Programs</a></li>
				
            </ul>
            </li>

<li class="visible-xs hidden-sm visible-lg"><a href="../lists/files.html">Source Files</a></li>


<li class="visible-xs hidden-sm visible-lg"><a href="../lists/modules.html">Modules</a></li>



<li class="visible-xs hidden-sm visible-lg"><a href="../lists/procedures.html">Procedures</a></li>

                             
<li class="visible-xs hidden-sm visible-lg"><a href="../lists/types.html">Derived Types</a></li>


<li class="visible-xs hidden-sm visible-lg"><a href="../lists/programs.html">Programs</a></li>

          </ul>
        
        <form action="../search.html" class="navbar-form navbar-right" role="search">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search" name="q" id="tipue_search_input" autocomplete="off" required>
        </div>
<!--
        <button type="submit" class="btn btn-default">Submit</button>
-->
        </form>
        
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    <div class="container">
    
  
  <div class="row">
    <h1>wxml_example
    <small>Program</small>
    
    </h1>
    
<div class="row">
  <div class="col-lg-12">
<div class="well well-sm">
  <ul class="list-inline" style="margin-bottom:0px;display:inline">
     
     
     
     
    
    
     <li><i class="fa fa-list-ol"></i>
       <a data-toggle="tooltip"
	  data-placement="bottom" data-html="true"
	  title=" 2.3% of total for programs.">55 statements</a>
     </li> 
     
     
    <li><i class="fa fa-code"></i><a href="../src/test_FoX_wxml.f90"> Source File</a></li>
     
  </ul>
  <ol class="breadcrumb in-well text-right">
  
     <li><a href='../sourcefile/test_fox_wxml.f90.html'>test_FoX_wxml.f90</a></li>
  
     <li class="active">wxml_example</li>
  </ol>
</div>
</div>
</div>
<script>
  $(function () {
  $('[data-toggle="tooltip"]').tooltip()
  })
</script>

  </div>
  
  <div class="row">
    <div class="col-md-3 hidden-xs hidden-sm visible-md visible-lg">
    
<div id="sidebar">
  


<div class="panel panel-primary">
  <div class="panel-heading text-left"><h3 class="panel-title"><a data-toggle="collapse" href="#vars-0">Variables</a></h3></div>
  <div id="vars-0" class="panel-collapse collapse">
    <div class="list-group">
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-xf">xf</a>
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-age">age</a>
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-x">x</a>
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-y">y</a>
      
    </div>
  </div>
</div>



















<div class="panel panel-primary">
  <div class="panel-heading text-left"><h3 class="panel-title">Source Code</h3></div>
  <div class="list-group">
    <a class="list-group-item" href="../program/wxml_example.html#src">wxml_example</a>
  </div>
</div>


  <hr>
  

<div class="panel panel-default">
  <div class="panel-heading text-left"><h3 class="panel-title"><a data-toggle="collapse" href="#allprogs-0">All Programs</a></h3></div>
  <div id="allprogs-0" class="panel-collapse collapse">
    <div class="list-group">
      
      <a class="list-group-item" href="../program/ch_unstructured_hexahedron.html">ch_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/steps_handler_test.html">steps_handler_test</a>
      
      <a class="list-group-item" href="../program/test_hdf5_hyperslabs_handler.html">test_hdf5_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_rect_dpp_handler.html">test_hdf5_rect_dpp_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_rect_hyperslabs_handler.html">test_hdf5_rect_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_reg_dpp_handler.html">test_hdf5_reg_dpp_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_reg_hyperslabs_handler.html">test_hdf5_reg_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_uns_hyperslabs_handler.html">test_hdf5_uns_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_mpi_environment.html">test_mpi_environment</a>
      
      <a class="list-group-item" href="../program/test_xdmf_attribute.html">test_xdmf_attribute</a>
      
      <a class="list-group-item" href="../program/test_xdmf_character_data.html">test_xdmf_character_data</a>
      
      <a class="list-group-item" href="../program/test_xdmf_dataitem.html">test_xdmf_dataitem</a>
      
      <a class="list-group-item" href="../program/test_xdmf_geometry.html">test_xdmf_geometry</a>
      
      <a class="list-group-item" href="../program/test_xdmf_grid.html">test_xdmf_grid</a>
      
      <a class="list-group-item" href="../program/test_xdmf_rect_dpp_handler.html">test_xdmf_rect_dpp_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_rect_hyperslabs_handler.html">test_xdmf_rect_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_reg_ddp_handler.html">test_xdmf_reg_ddp_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_reg_hyperslabs_handler.html">test_xdmf_reg_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_time.html">test_xdmf_time</a>
      
      <a class="list-group-item" href="../program/test_xdmf_topology.html">test_xdmf_topology</a>
      
      <a class="list-group-item" href="../program/test_xdmf_uns_ddp_handler.html">test_xdmf_uns_ddp_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_uns_hyperslabs_handler.html">test_xdmf_uns_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_xinclude.html">test_xdmf_xinclude</a>
      
      <a class="list-group-item" href="../program/try_compile_hdf5_mod.html">try_compile_hdf5_mod</a>
      
      <a class="list-group-item" href="../program/try_compile_mpi_mod.html">try_compile_mpi_mod</a>
      
      <a class="list-group-item" href="../program/wxml_example.html">wxml_example</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_rectilinear_grid.html">xh5for_ch_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_rectilinear_grid%7E2.html">xh5for_ch_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_rectilinear_grid%7E3.html">xh5for_ch_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E2.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E3.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E4.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E5.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_hexahedron.html">xh5for_ch_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_hexahedron%7E2.html">xh5for_ch_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_mixedtopology.html">xh5for_ch_unstructured_mixedtopology</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_mixedtopology%7E2.html">xh5for_ch_unstructured_mixedtopology</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_quadrilateral.html">xh5for_ch_unstructured_quadrilateral</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E2.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E3.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E4.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E5.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_triangles.html">xh5for_ch_unstructured_triangles</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_rectilinear_grid.html">xh5for_dpp_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_rectilinear_grid%7E2.html">xh5for_dpp_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_rectilinear_grid%7E3.html">xh5for_dpp_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_regular_grid.html">xh5for_dpp_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_hexahedron.html">xh5for_dpp_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_mixedtopology.html">xh5for_dpp_unstructured_mixedtopology</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_quadrilateral.html">xh5for_dpp_unstructured_quadrilateral</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_tetrahedron.html">xh5for_dpp_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_triangles.html">xh5for_dpp_unstructured_triangles</a>
      
    </div>
  </div>
</div>


</div>  

    </div>
    
    <div class="col-md-9" id='text'>
    
  
    <ul class="list-inline">
      <li><h4>Uses:</h4></li>
      
      <li>FoX_wxml</li>
      
    </ul>
    
                <div class="depgraph"><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: program~~wxml_example~~UsesGraph Pages: 1 -->
<svg id="programwxml_exampleUsesGraph" width="189pt" height="32pt"
 viewBox="0.00 0.00 189.00 32.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="program~~wxml_example~~UsesGraph" class="graph" transform="scale(1 1) rotate(0) translate(4 28)">
<title>program~~wxml_example~~UsesGraph</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-28 185,-28 185,4 -4,4"/>
<!-- program~wxml_example -->
<g id="program~~wxml_example~~UsesGraph_node1" class="node"><title>program~wxml_example</title>
<polygon fill="none" stroke="black" points="181,-24 98,-24 98,-0 181,-0 181,-24"/>
<text text-anchor="middle" x="139.5" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50">wxml_example</text>
</g>
<!-- FoX_wxml -->
<g id="program~~wxml_example~~UsesGraph_node2" class="node"><title>FoX_wxml</title>
<polygon fill="#337ab7" stroke="#337ab7" points="62,-24 3.55271e-15,-24 3.55271e-15,-0 62,-0 62,-24"/>
<text text-anchor="middle" x="31" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">FoX_wxml</text>
</g>
<!-- FoX_wxml&#45;&gt;program~wxml_example -->
<g id="program~~wxml_example~~UsesGraph_edge1" class="edge"><title>FoX_wxml&#45;&gt;program~wxml_example</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M62.2338,-12C70.1898,-12 78.9947,-12 87.7115,-12"/>
<polygon fill="#000000" stroke="#000000" points="87.8476,-15.5001 97.8476,-12 87.8476,-8.5001 87.8476,-15.5001"/>
</g>
</g>
</svg>
</div>
                <div><a type="button" class="graph-help" data-toggle="modal" href="#graph-help-text">Help</a></div>
                <div class="modal fade" id="graph-help-text" tabindex="-1" role="dialog">
                  <div class="modal-dialog modal-lg" role="document">
                    <div class="modal-content">
                      <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="-graph-help-label">Graph Key</h4>
                      </div>
                      <div class="modal-body">
                        
    <p>Nodes of different colours represent the following: </p>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: Graph Key Pages: 1 -->
<svg width="490pt" height="32pt"
 viewBox="0.00 0.00 489.50 32.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 28)">
<title>Graph Key</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-28 485.5,-28 485.5,4 -4,4"/>
<!-- Module -->
<g id="node1" class="node"><title>Module</title>
<polygon fill="#337ab7" stroke="#337ab7" points="54,-24 0,-24 0,-0 54,-0 54,-24"/>
<text text-anchor="middle" x="27" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Module</text>
</g>
<!-- Submodule -->
<g id="node2" class="node"><title>Submodule</title>
<polygon fill="#5bc0de" stroke="#5bc0de" points="139.5,-24 72.5,-24 72.5,-0 139.5,-0 139.5,-24"/>
<text text-anchor="middle" x="106" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Submodule</text>
</g>
<!-- Subroutine -->
<g id="node3" class="node"><title>Subroutine</title>
<polygon fill="#d9534f" stroke="#d9534f" points="222,-24 158,-24 158,-0 222,-0 222,-24"/>
<text text-anchor="middle" x="190" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Subroutine</text>
</g>
<!-- Function -->
<g id="node4" class="node"><title>Function</title>
<polygon fill="#d94e8f" stroke="#d94e8f" points="294,-24 240,-24 240,-0 294,-0 294,-24"/>
<text text-anchor="middle" x="267" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Function</text>
</g>
<!-- Program -->
<g id="node5" class="node"><title>Program</title>
<polygon fill="#f0ad4e" stroke="#f0ad4e" points="366,-24 312,-24 312,-0 366,-0 366,-24"/>
<text text-anchor="middle" x="339" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Program</text>
</g>
<!-- This Page&#39;s Entity -->
<g id="node6" class="node"><title>This Page&#39;s Entity</title>
<polygon fill="none" stroke="black" points="481.5,-24 384.5,-24 384.5,-0 481.5,-0 481.5,-24"/>
<text text-anchor="middle" x="433" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50">This Page&#39;s Entity</text>
</g>
</g>
</svg>

    
    <p>Solid arrows point from a parent (sub)module to the submodule which is
    descended from it. Dashed arrows point from a module being used to the
    module or program unit using it.
    </p>
    
                      </div>
                    </div>
                  </div>
                </div>
                
    

    <br><br>
    
    
     <h3>Calls</h3>
     
                <div class="depgraph"><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: program~~wxml_example~~CallsGraph Pages: 1 -->
<svg id="programwxml_exampleCallsGraph" width="262pt" height="830pt"
 viewBox="0.00 0.00 262.00 830.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="program~~wxml_example~~CallsGraph" class="graph" transform="scale(1 1) rotate(0) translate(4 826)">
<title>program~~wxml_example~~CallsGraph</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-826 258,-826 258,4 -4,4"/>
<!-- program~wxml_example -->
<g id="program~~wxml_example~~CallsGraph_node1" class="node"><title>program~wxml_example</title>
<polygon fill="none" stroke="black" points="83,-423 0,-423 0,-399 83,-399 83,-423"/>
<text text-anchor="middle" x="41.5" y="-408.6" font-family="Helvetica,sans-Serif" font-size="10.50">wxml_example</text>
</g>
<!-- xml_addentityreference -->
<g id="program~~wxml_example~~CallsGraph_node2" class="node"><title>xml_addentityreference</title>
<polygon fill="#777777" stroke="#777777" points="248.5,-822 124.5,-822 124.5,-798 248.5,-798 248.5,-822"/>
<text text-anchor="middle" x="186.5" y="-807.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addentityreference</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addentityreference -->
<g id="program~~wxml_example~~CallsGraph_edge1" class="edge"><title>program~wxml_example&#45;&gt;xml_addentityreference</title>
<path fill="none" stroke="#000000" d="M43.3215,-423.038C47.5233,-481.216 68.4153,-732.737 119,-789 119.888,-789.988 120.822,-790.929 121.796,-791.827"/>
<polygon fill="#000000" stroke="#000000" points="119.847,-794.739 129.965,-797.882 124.016,-789.115 119.847,-794.739"/>
</g>
<!-- xml_addinternalentity -->
<g id="program~~wxml_example~~CallsGraph_node3" class="node"><title>xml_addinternalentity</title>
<polygon fill="#777777" stroke="#777777" points="243.5,-780 129.5,-780 129.5,-756 243.5,-756 243.5,-780"/>
<text text-anchor="middle" x="186.5" y="-765.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addinternalentity</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addinternalentity -->
<g id="program~~wxml_example~~CallsGraph_edge2" class="edge"><title>program~wxml_example&#45;&gt;xml_addinternalentity</title>
<path fill="none" stroke="#000000" d="M43.6591,-423.127C49.0803,-477.429 73.6024,-697.718 119,-747 119.923,-748.002 120.893,-748.956 121.904,-749.865"/>
<polygon fill="#000000" stroke="#000000" points="120.216,-752.963 130.371,-755.985 124.317,-747.29 120.216,-752.963"/>
</g>
<!-- xml_addelementtodtd -->
<g id="program~~wxml_example~~CallsGraph_node4" class="node"><title>xml_addelementtodtd</title>
<polygon fill="#777777" stroke="#777777" points="244,-738 129,-738 129,-714 244,-714 244,-738"/>
<text text-anchor="middle" x="186.5" y="-723.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addelementtodtd</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addelementtodtd -->
<g id="program~~wxml_example~~CallsGraph_edge3" class="edge"><title>program~wxml_example&#45;&gt;xml_addelementtodtd</title>
<path fill="none" stroke="#000000" d="M44.1017,-423.272C50.8867,-473.488 78.7705,-662.651 119,-705 120.042,-706.097 121.141,-707.137 122.289,-708.123"/>
<polygon fill="#000000" stroke="#000000" points="120.291,-710.997 130.487,-713.877 124.312,-705.267 120.291,-710.997"/>
</g>
<!-- xml_addcomment -->
<g id="program~~wxml_example~~CallsGraph_node5" class="node"><title>xml_addcomment</title>
<polygon fill="#777777" stroke="#777777" points="235,-696 138,-696 138,-672 235,-672 235,-696"/>
<text text-anchor="middle" x="186.5" y="-681.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addcomment</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addcomment -->
<g id="program~~wxml_example~~CallsGraph_edge4" class="edge"><title>program~wxml_example&#45;&gt;xml_addcomment</title>
<path fill="none" stroke="#000000" d="M42.4426,-423.222C42.9342,-463.472 50.0399,-593.267 119,-663 121.886,-665.919 125.175,-668.433 128.708,-670.598"/>
<polygon fill="#000000" stroke="#000000" points="127.408,-673.864 137.906,-675.294 130.591,-667.63 127.408,-673.864"/>
</g>
<!-- xml_addpseudoattribute -->
<g id="program~~wxml_example~~CallsGraph_node6" class="node"><title>xml_addpseudoattribute</title>
<polygon fill="#777777" stroke="#777777" points="250,-654 123,-654 123,-630 250,-630 250,-654"/>
<text text-anchor="middle" x="186.5" y="-639.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addpseudoattribute</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addpseudoattribute -->
<g id="program~~wxml_example~~CallsGraph_edge5" class="edge"><title>program~wxml_example&#45;&gt;xml_addpseudoattribute</title>
<path fill="none" stroke="#000000" d="M43.2997,-423.19C46.3052,-458.935 60.0032,-564.513 119,-621 120.263,-622.209 121.594,-623.348 122.983,-624.422"/>
<polygon fill="#000000" stroke="#000000" points="121.177,-627.422 131.482,-629.882 124.961,-621.532 121.177,-627.422"/>
</g>
<!-- xml_addattlisttodtd -->
<g id="program~~wxml_example~~CallsGraph_node7" class="node"><title>xml_addattlisttodtd</title>
<polygon fill="#777777" stroke="#777777" points="237.5,-612 135.5,-612 135.5,-588 237.5,-588 237.5,-612"/>
<text text-anchor="middle" x="186.5" y="-597.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addattlisttodtd</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addattlisttodtd -->
<g id="program~~wxml_example~~CallsGraph_edge6" class="edge"><title>program~wxml_example&#45;&gt;xml_addattlisttodtd</title>
<path fill="none" stroke="#000000" d="M44.542,-423.161C50.3455,-453.917 69.8109,-535.448 119,-579 121.327,-581.06 123.856,-582.919 126.523,-584.595"/>
<polygon fill="#000000" stroke="#000000" points="124.964,-587.73 135.434,-589.352 128.26,-581.555 124.964,-587.73"/>
</g>
<!-- xml_openfile -->
<g id="program~~wxml_example~~CallsGraph_node8" class="node"><title>xml_openfile</title>
<polygon fill="#777777" stroke="#777777" points="223,-570 150,-570 150,-546 223,-546 223,-570"/>
<text text-anchor="middle" x="186.5" y="-555.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_openfile</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_openfile -->
<g id="program~~wxml_example~~CallsGraph_edge7" class="edge"><title>program~wxml_example&#45;&gt;xml_openfile</title>
<path fill="none" stroke="#000000" d="M46.498,-423.033C55.4193,-448.037 79.3438,-505.871 119,-537 125.227,-541.888 132.612,-545.65 140.157,-548.541"/>
<polygon fill="#000000" stroke="#000000" points="139.13,-551.888 149.724,-551.756 141.36,-545.253 139.13,-551.888"/>
</g>
<!-- xml_addxmlstylesheet -->
<g id="program~~wxml_example~~CallsGraph_node9" class="node"><title>xml_addxmlstylesheet</title>
<polygon fill="#777777" stroke="#777777" points="245.5,-528 127.5,-528 127.5,-504 245.5,-504 245.5,-528"/>
<text text-anchor="middle" x="186.5" y="-513.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addxmlstylesheet</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addxmlstylesheet -->
<g id="program~~wxml_example~~CallsGraph_edge8" class="edge"><title>program~wxml_example&#45;&gt;xml_addxmlstylesheet</title>
<path fill="none" stroke="#000000" d="M50.3998,-423.15C62.8502,-441.362 88.757,-475.658 119,-495 121.754,-496.761 124.667,-498.385 127.674,-499.879"/>
<polygon fill="#000000" stroke="#000000" points="126.357,-503.124 136.916,-503.988 129.2,-496.728 126.357,-503.124"/>
</g>
<!-- xml_addxmlpi -->
<g id="program~~wxml_example~~CallsGraph_node10" class="node"><title>xml_addxmlpi</title>
<polygon fill="#777777" stroke="#777777" points="225.5,-486 147.5,-486 147.5,-462 225.5,-462 225.5,-486"/>
<text text-anchor="middle" x="186.5" y="-471.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addxmlpi</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addxmlpi -->
<g id="program~~wxml_example~~CallsGraph_edge9" class="edge"><title>program~wxml_example&#45;&gt;xml_addxmlpi</title>
<path fill="none" stroke="#000000" d="M62.0958,-423.158C77.2411,-432.207 98.9385,-444.424 119,-453 124.918,-455.53 131.245,-457.914 137.557,-460.105"/>
<polygon fill="#000000" stroke="#000000" points="136.807,-463.544 147.401,-463.381 139.018,-456.902 136.807,-463.544"/>
</g>
<!-- xml_addnotation -->
<g id="program~~wxml_example~~CallsGraph_node11" class="node"><title>xml_addnotation</title>
<polygon fill="#777777" stroke="#777777" points="232,-444 141,-444 141,-420 232,-420 232,-444"/>
<text text-anchor="middle" x="186.5" y="-429.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addnotation</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addnotation -->
<g id="program~~wxml_example~~CallsGraph_edge10" class="edge"><title>program~wxml_example&#45;&gt;xml_addnotation</title>
<path fill="none" stroke="#000000" d="M83.0956,-416.962C97.8618,-419.13 114.806,-421.618 130.605,-423.938"/>
<polygon fill="#000000" stroke="#000000" points="130.385,-427.444 140.787,-425.434 131.402,-420.518 130.385,-427.444"/>
</g>
<!-- xml_close -->
<g id="program~~wxml_example~~CallsGraph_node12" class="node"><title>xml_close</title>
<polygon fill="#777777" stroke="#777777" points="216.5,-402 156.5,-402 156.5,-378 216.5,-378 216.5,-402"/>
<text text-anchor="middle" x="186.5" y="-387.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_close</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_close -->
<g id="program~~wxml_example~~CallsGraph_edge11" class="edge"><title>program~wxml_example&#45;&gt;xml_close</title>
<path fill="none" stroke="#000000" d="M83.0956,-405.038C102.834,-402.14 126.462,-398.67 146.047,-395.794"/>
<polygon fill="#000000" stroke="#000000" points="146.783,-399.223 156.168,-394.307 145.766,-392.298 146.783,-399.223"/>
</g>
<!-- xml_adddoctype -->
<g id="program~~wxml_example~~CallsGraph_node13" class="node"><title>xml_adddoctype</title>
<polygon fill="#777777" stroke="#777777" points="232,-360 141,-360 141,-336 232,-336 232,-360"/>
<text text-anchor="middle" x="186.5" y="-345.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_adddoctype</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_adddoctype -->
<g id="program~~wxml_example~~CallsGraph_edge12" class="edge"><title>program~wxml_example&#45;&gt;xml_adddoctype</title>
<path fill="none" stroke="#000000" d="M62.0958,-398.842C77.2411,-389.793 98.9385,-377.576 119,-369 123.495,-367.079 128.226,-365.241 133.007,-363.508"/>
<polygon fill="#000000" stroke="#000000" points="134.527,-366.686 142.831,-360.106 132.236,-360.071 134.527,-366.686"/>
</g>
<!-- xml_newelement -->
<g id="program~~wxml_example~~CallsGraph_node14" class="node"><title>xml_newelement</title>
<polygon fill="#777777" stroke="#777777" points="233,-318 140,-318 140,-294 233,-294 233,-318"/>
<text text-anchor="middle" x="186.5" y="-303.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_newelement</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_newelement -->
<g id="program~~wxml_example~~CallsGraph_edge13" class="edge"><title>program~wxml_example&#45;&gt;xml_newelement</title>
<path fill="none" stroke="#000000" d="M50.3998,-398.85C62.8502,-380.638 88.757,-346.342 119,-327 122.557,-324.725 126.379,-322.68 130.328,-320.845"/>
<polygon fill="#000000" stroke="#000000" points="131.825,-324.013 139.707,-316.934 129.13,-317.552 131.825,-324.013"/>
</g>
<!-- xml_addcharacters -->
<g id="program~~wxml_example~~CallsGraph_node15" class="node"><title>xml_addcharacters</title>
<polygon fill="#777777" stroke="#777777" points="238,-276 135,-276 135,-252 238,-252 238,-276"/>
<text text-anchor="middle" x="186.5" y="-261.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addcharacters</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addcharacters -->
<g id="program~~wxml_example~~CallsGraph_edge14" class="edge"><title>program~wxml_example&#45;&gt;xml_addcharacters</title>
<path fill="none" stroke="#000000" d="M46.498,-398.967C55.4193,-373.963 79.3438,-316.129 119,-285 121.083,-283.365 123.296,-281.856 125.601,-280.463"/>
<polygon fill="#000000" stroke="#000000" points="127.608,-283.364 134.869,-275.649 124.382,-277.152 127.608,-283.364"/>
</g>
<!-- xml_declarenamespace -->
<g id="program~~wxml_example~~CallsGraph_node16" class="node"><title>xml_declarenamespace</title>
<polygon fill="#777777" stroke="#777777" points="249.5,-234 123.5,-234 123.5,-210 249.5,-210 249.5,-234"/>
<text text-anchor="middle" x="186.5" y="-219.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_declarenamespace</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_declarenamespace -->
<g id="program~~wxml_example~~CallsGraph_edge15" class="edge"><title>program~wxml_example&#45;&gt;xml_declarenamespace</title>
<path fill="none" stroke="#000000" d="M44.542,-398.839C50.3455,-368.083 69.8109,-286.552 119,-243 120.496,-241.676 122.075,-240.435 123.72,-239.272"/>
<polygon fill="#000000" stroke="#000000" points="125.625,-242.212 132.424,-234.087 122.042,-236.198 125.625,-242.212"/>
</g>
<!-- xml_addpereferencetodtd -->
<g id="program~~wxml_example~~CallsGraph_node17" class="node"><title>xml_addpereferencetodtd</title>
<polygon fill="#777777" stroke="#777777" points="254,-192 119,-192 119,-168 254,-168 254,-192"/>
<text text-anchor="middle" x="186.5" y="-177.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addpereferencetodtd</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addpereferencetodtd -->
<g id="program~~wxml_example~~CallsGraph_edge16" class="edge"><title>program~wxml_example&#45;&gt;xml_addpereferencetodtd</title>
<path fill="none" stroke="#000000" d="M43.2997,-398.81C46.3052,-363.065 60.0032,-257.487 119,-201 120.263,-199.791 121.594,-198.652 122.983,-197.578"/>
<polygon fill="#000000" stroke="#000000" points="124.961,-200.468 131.482,-192.118 121.177,-194.578 124.961,-200.468"/>
</g>
<!-- xml_addattribute -->
<g id="program~~wxml_example~~CallsGraph_node18" class="node"><title>xml_addattribute</title>
<polygon fill="#777777" stroke="#777777" points="232.5,-150 140.5,-150 140.5,-126 232.5,-126 232.5,-150"/>
<text text-anchor="middle" x="186.5" y="-135.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addattribute</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addattribute -->
<g id="program~~wxml_example~~CallsGraph_edge17" class="edge"><title>program~wxml_example&#45;&gt;xml_addattribute</title>
<path fill="none" stroke="#000000" d="M42.4426,-398.778C42.9342,-358.528 50.0399,-228.733 119,-159 122.488,-155.473 126.562,-152.537 130.947,-150.094"/>
<polygon fill="#000000" stroke="#000000" points="132.707,-153.135 140.292,-145.737 129.749,-146.79 132.707,-153.135"/>
</g>
<!-- xml_endelement -->
<g id="program~~wxml_example~~CallsGraph_node19" class="node"><title>xml_endelement</title>
<polygon fill="#777777" stroke="#777777" points="232,-108 141,-108 141,-84 232,-84 232,-108"/>
<text text-anchor="middle" x="186.5" y="-93.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_endelement</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_endelement -->
<g id="program~~wxml_example~~CallsGraph_edge18" class="edge"><title>program~wxml_example&#45;&gt;xml_endelement</title>
<path fill="none" stroke="#000000" d="M44.1017,-398.728C50.8867,-348.512 78.7705,-159.349 119,-117 122.608,-113.202 126.895,-110.088 131.53,-107.536"/>
<polygon fill="#000000" stroke="#000000" points="133.157,-110.64 140.784,-103.286 130.235,-104.279 133.157,-110.64"/>
</g>
<!-- xml_addexternalentity -->
<g id="program~~wxml_example~~CallsGraph_node20" class="node"><title>xml_addexternalentity</title>
<polygon fill="#777777" stroke="#777777" points="245,-66 128,-66 128,-42 245,-42 245,-66"/>
<text text-anchor="middle" x="186.5" y="-51.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addexternalentity</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addexternalentity -->
<g id="program~~wxml_example~~CallsGraph_edge19" class="edge"><title>program~wxml_example&#45;&gt;xml_addexternalentity</title>
<path fill="none" stroke="#000000" d="M43.6591,-398.873C49.0803,-344.571 73.6024,-124.282 119,-75 119.923,-73.9982 120.893,-73.0439 121.904,-72.1349"/>
<polygon fill="#000000" stroke="#000000" points="124.317,-74.7097 130.371,-66.0148 120.216,-69.0366 124.317,-74.7097"/>
</g>
<!-- xml_addparameterentity -->
<g id="program~~wxml_example~~CallsGraph_node21" class="node"><title>xml_addparameterentity</title>
<polygon fill="#777777" stroke="#777777" points="250.5,-24 122.5,-24 122.5,-0 250.5,-0 250.5,-24"/>
<text text-anchor="middle" x="186.5" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">xml_addparameterentity</text>
</g>
<!-- program~wxml_example&#45;&gt;xml_addparameterentity -->
<g id="program~~wxml_example~~CallsGraph_edge20" class="edge"><title>program~wxml_example&#45;&gt;xml_addparameterentity</title>
<path fill="none" stroke="#000000" d="M43.3215,-398.962C47.5233,-340.784 68.4153,-89.2634 119,-33 119.888,-32.0124 120.822,-31.071 121.796,-30.1734"/>
<polygon fill="#000000" stroke="#000000" points="124.016,-32.8847 129.965,-24.1175 119.847,-27.2614 124.016,-32.8847"/>
</g>
</g>
</svg>
</div>
                <div><a type="button" class="graph-help" data-toggle="modal" href="#graph-help-text">Help</a></div>
                <div class="modal fade" id="graph-help-text" tabindex="-1" role="dialog">
                  <div class="modal-dialog modal-lg" role="document">
                    <div class="modal-content">
                      <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="-graph-help-label">Graph Key</h4>
                      </div>
                      <div class="modal-body">
                        
    <p>Nodes of different colours represent the following: </p>
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: Graph Key Pages: 1 -->
<svg width="560pt" height="32pt"
 viewBox="0.00 0.00 559.50 32.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 28)">
<title>Graph Key</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-28 555.5,-28 555.5,4 -4,4"/>
<!-- Subroutine -->
<g id="node1" class="node"><title>Subroutine</title>
<polygon fill="#d9534f" stroke="#d9534f" points="64,-24 0,-24 0,-0 64,-0 64,-24"/>
<text text-anchor="middle" x="32" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Subroutine</text>
</g>
<!-- Function -->
<g id="node2" class="node"><title>Function</title>
<polygon fill="#d94e8f" stroke="#d94e8f" points="136,-24 82,-24 82,-0 136,-0 136,-24"/>
<text text-anchor="middle" x="109" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Function</text>
</g>
<!-- Interface -->
<g id="node3" class="node"><title>Interface</title>
<polygon fill="#a7506f" stroke="#a7506f" points="209.5,-24 154.5,-24 154.5,-0 209.5,-0 209.5,-24"/>
<text text-anchor="middle" x="182" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Interface</text>
</g>
<!-- Unknown Procedure Type -->
<g id="node4" class="node"><title>Unknown Procedure Type</title>
<polygon fill="#777777" stroke="#777777" points="364,-24 228,-24 228,-0 364,-0 364,-24"/>
<text text-anchor="middle" x="296" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Unknown Procedure Type</text>
</g>
<!-- Program -->
<g id="node5" class="node"><title>Program</title>
<polygon fill="#f0ad4e" stroke="#f0ad4e" points="436,-24 382,-24 382,-0 436,-0 436,-24"/>
<text text-anchor="middle" x="409" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50" fill="white">Program</text>
</g>
<!-- This Page&#39;s Entity -->
<g id="node6" class="node"><title>This Page&#39;s Entity</title>
<polygon fill="none" stroke="black" points="551.5,-24 454.5,-24 454.5,-0 551.5,-0 551.5,-24"/>
<text text-anchor="middle" x="503" y="-9.6" font-family="Helvetica,sans-Serif" font-size="10.50">This Page&#39;s Entity</text>
</g>
</g>
</svg>

    
    <p>Solid arrows point from a procedure to one which it calls. Dashed 
    arrows point from an interface to procedures which implement that interface.
    This could include the module procedures in a generic interface or the
    implementation in a submodule of an interface in a parent module.
    </p>
    
                      </div>
                    </div>
                  </div>
                </div>
                
     
    <br>

     <section class="visible-xs visible-sm hidden-md">
       


<div class="panel panel-primary">
  <div class="panel-heading text-left"><h3 class="panel-title"><a data-toggle="collapse" href="#vars-1">Variables</a></h3></div>
  <div id="vars-1" class="panel-collapse collapse">
    <div class="list-group">
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-xf">xf</a>
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-age">age</a>
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-x">x</a>
      
      <a class="list-group-item" href="../program/wxml_example.html#variable-y">y</a>
      
    </div>
  </div>
</div>



















<div class="panel panel-primary">
  <div class="panel-heading text-left"><h3 class="panel-title">Source Code</h3></div>
  <div class="list-group">
    <a class="list-group-item" href="../program/wxml_example.html#src">wxml_example</a>
  </div>
</div>


     </section>
     <br class="visible-xs visible-sm hidden-md">

     

    
    <section>
    <h2>Variables</h2>
    
<table class="table table-striped varlist">
<thead><tr><th>Type</th>

<th>Attributes</th><th></th><th>Name</th><th></th><th>Initial</th><th></th></thead>



<tbody>

  
  
  
  
<tr>
  
  <td><span class="anchor" id="variable-xf"></span>type(xmlf_t)</td>
  
  
  <td></td><td>::</td>
  <td><strong>xf</strong></td><td></td><td></td><td></td>
  
</tr>

  
  
  
  
<tr>
  
  <td><span class="anchor" id="variable-age"></span>integer</td>
  
  
  <td></td><td>::</td>
  <td><strong>age</strong></td><td> =</td><td>34</td><td></td>
  
</tr>

  
  
  
  
<tr>
  
  <td><span class="anchor" id="variable-x"></span>real,</td>
  
  
  <td>dimension(20)</td><td>::</td>
  <td><strong>x</strong></td><td></td><td></td><td></td>
  
</tr>

  
  
  
  
<tr>
  
  <td><span class="anchor" id="variable-y"></span>real,</td>
  
  
  <td>dimension(4,4)</td><td>::</td>
  <td><strong>y</strong></td><td></td><td></td><td></td>
  
</tr>

</tbody>
</table>

    </section>
    <br>
    
    
    
    
    
    
    

    
    
    


    
    
    
    <section>
    <h2 id="src">Source Code</h2>
    <div class="highlight"><pre><span class="k">program </span><span class="n">wxml_example</span>

<span class="k">use </span><span class="n">FoX_wxml</span>

<span class="k">implicit none</span>

<span class="k">type</span><span class="p">(</span><span class="n">xmlf_t</span><span class="p">)</span> <span class="kd">::</span> <span class="n">xf</span>

<span class="kt">integer</span> <span class="kd">::</span> <span class="n">age</span> <span class="o">=</span> <span class="mi">34</span>
<span class="kt">real</span><span class="p">,</span> <span class="k">dimension</span><span class="p">(</span><span class="mi">20</span><span class="p">)</span>  <span class="kd">::</span> <span class="n">x</span>
<span class="kt">real</span><span class="p">,</span> <span class="k">dimension</span><span class="p">(</span><span class="mi">4</span><span class="p">,</span><span class="mi">4</span><span class="p">)</span>  <span class="kd">::</span> <span class="n">y</span>

<span class="k">call </span><span class="n">xml_OpenFile</span><span class="p">(</span><span class="s2">&quot;simple.xml&quot;</span><span class="p">,</span><span class="n">xf</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddDOCTYPE</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;john&quot;</span><span class="p">,</span> <span class="s2">&quot;hellodtd&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddParameterEntity</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s1">&#39;pe&#39;</span><span class="p">,</span> <span class="s1">&#39;&lt;!ENTITY def &quot;what a load of nonsense&quot;&gt;&#39;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddInternalEntity</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;abc&quot;</span><span class="p">,</span> <span class="s2">&quot;A B C&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddElementToDTD</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;br&quot;</span><span class="p">,</span> <span class="s2">&quot;EMPTY&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddAttlistToDTD</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;p&quot;</span><span class="p">,</span> <span class="s2">&quot;class NMTOKENS #IMPLIED&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddPEreferenceToDTD</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;pe&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddXMLPI</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="n">name</span><span class="o">=</span><span class="s2">&quot;robots&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddPseudoAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;index&quot;</span><span class="p">,</span> <span class="s2">&quot;yes&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddPseudoAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;follow&quot;</span><span class="p">,</span> <span class="s2">&quot;no&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddNotation</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="n">name</span><span class="o">=</span><span class="s2">&quot;GIF&quot;</span><span class="p">,</span> <span class="nb">system</span><span class="o">=</span><span class="s2">&quot;http://lzw.org&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddComment</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;a comment ...&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddExternalEntity</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;def&quot;</span><span class="p">,</span> <span class="s2">&quot;http://blah&quot;</span><span class="p">,</span> <span class="k">public</span><span class="o">=</span><span class="s2">&quot;h&quot;</span><span class="p">,</span> <span class="n">notation</span><span class="o">=</span><span class="s2">&quot;GIF&quot;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_AddXMLStylesheet</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="n">href</span><span class="o">=</span><span class="s2">&quot;simple.css&quot;</span><span class="p">,</span><span class="k">type</span><span class="o">=</span><span class="s2">&quot;text/css&quot;</span><span class="p">,</span><span class="n">media</span><span class="o">=</span><span class="s2">&quot;braille&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddXMLPI</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;ccode&quot;</span><span class="p">,</span> <span class="k">data</span><span class="o">=</span><span class="s2">&quot;{hello_world();}&quot;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;john&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;age&quot;</span><span class="p">,</span><span class="n">age</span><span class="p">)</span>


<span class="k">call </span><span class="n">xml_AddAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;with_markup&quot;</span><span class="p">,</span><span class="s2">&quot;O&#39;Reilly &amp; Assoc is &lt; OUP but &gt; Wiley&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;peter&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddComment</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;another comment ...&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;tim&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;age&quot;</span><span class="p">,</span><span class="mi">37</span><span class="p">)</span>
<span class="c">!call xml_AddAttribute(xf,&quot;weight&quot;,123.45d0,fmt=&quot;r3&quot;)</span>
<span class="c">!call xml_AddAttribute(xf,&quot;cholesterol&quot;,167.0d0,fmt=&quot;r0&quot;)</span>
<span class="k">call </span><span class="n">xml_AddCharacters</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;Ping-pong&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddCharacters</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;champion&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_EndElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;tim&quot;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_AddCharacters</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot; in years &lt; 2004&quot;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_AddXMLPI</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="n">name</span><span class="o">=</span><span class="s2">&quot;robots2&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddPseudoAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;index&quot;</span><span class="p">,</span> <span class="s2">&quot;if you&#39;re nice&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddEntityReference</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s1">&#39;abc&#39;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_AddCharacters</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="nb">repeat</span><span class="p">(</span><span class="s2">&quot;abcd   &quot;</span><span class="p">,</span><span class="mi">500</span><span class="p">))</span>

<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;data&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;units&quot;</span><span class="p">,</span><span class="s2">&quot;eV&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="nb">random_number</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
<span class="c">!call xml_AddArray(xf,x)</span>
<span class="k">call </span><span class="n">xml_EndElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;data&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;data&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;units&quot;</span><span class="p">,</span><span class="s2">&quot;Ryd&quot;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_AddEntityReference</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s1">&#39;#x2A9&#39;</span><span class="p">)</span>

<span class="k">call </span><span class="n">xml_DeclareNamespace</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;http://www.w3.org/1999/xhtml&quot;</span><span class="p">,</span> <span class="s2">&quot;h&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_DeclareNamespace</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;http://www.w3.org/1999/svg&quot;</span><span class="p">,</span> <span class="s2">&quot;svg&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;h:html&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;svg:svg&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_EndElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;svg:svg&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_NewElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;h:head&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_DeclareNamespace</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span><span class="s2">&quot;http://www.xml-cml.org/schema&quot;</span><span class="p">,</span> <span class="s2">&quot;cml&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_AddAttribute</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;cml:convention&quot;</span><span class="p">,</span> <span class="s2">&quot;eMinerals&quot;</span><span class="p">)</span>
<span class="k">call </span><span class="n">xml_EndElement</span><span class="p">(</span><span class="n">xf</span><span class="p">,</span> <span class="s2">&quot;h:head&quot;</span><span class="p">)</span>

<span class="c">!call xml_AddCharacters(xf,(/1, 2, 3, 4, 16 /))</span>

<span class="c">! xml_Close will take care to close all outstanding elements</span>

<span class="k">call </span><span class="n">xml_Close</span><span class="p">(</span><span class="n">xf</span><span class="p">)</span>

<span class="c">! Equivalent code:</span>
<span class="c">!</span>
<span class="c">!!call xml_EndElement(xf,&quot;data&quot;)</span>
<span class="c">!!call xml_EndElement(xf,&quot;peter&quot;)</span>
<span class="c">!!call xml_EndElement(xf,&quot;john&quot;)</span>


<span class="k">end program </span><span class="n">wxml_example</span>
</pre></div>

    </section>
    
    
    </div>
  </div>

  <section class="visible-xs visible-sm hidden-md">
    <hr>
    

<div class="panel panel-default">
  <div class="panel-heading text-left"><h3 class="panel-title"><a data-toggle="collapse" href="#allprogs-1">All Programs</a></h3></div>
  <div id="allprogs-1" class="panel-collapse collapse">
    <div class="list-group">
      
      <a class="list-group-item" href="../program/ch_unstructured_hexahedron.html">ch_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/steps_handler_test.html">steps_handler_test</a>
      
      <a class="list-group-item" href="../program/test_hdf5_hyperslabs_handler.html">test_hdf5_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_rect_dpp_handler.html">test_hdf5_rect_dpp_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_rect_hyperslabs_handler.html">test_hdf5_rect_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_reg_dpp_handler.html">test_hdf5_reg_dpp_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_reg_hyperslabs_handler.html">test_hdf5_reg_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_hdf5_uns_hyperslabs_handler.html">test_hdf5_uns_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_mpi_environment.html">test_mpi_environment</a>
      
      <a class="list-group-item" href="../program/test_xdmf_attribute.html">test_xdmf_attribute</a>
      
      <a class="list-group-item" href="../program/test_xdmf_character_data.html">test_xdmf_character_data</a>
      
      <a class="list-group-item" href="../program/test_xdmf_dataitem.html">test_xdmf_dataitem</a>
      
      <a class="list-group-item" href="../program/test_xdmf_geometry.html">test_xdmf_geometry</a>
      
      <a class="list-group-item" href="../program/test_xdmf_grid.html">test_xdmf_grid</a>
      
      <a class="list-group-item" href="../program/test_xdmf_rect_dpp_handler.html">test_xdmf_rect_dpp_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_rect_hyperslabs_handler.html">test_xdmf_rect_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_reg_ddp_handler.html">test_xdmf_reg_ddp_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_reg_hyperslabs_handler.html">test_xdmf_reg_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_time.html">test_xdmf_time</a>
      
      <a class="list-group-item" href="../program/test_xdmf_topology.html">test_xdmf_topology</a>
      
      <a class="list-group-item" href="../program/test_xdmf_uns_ddp_handler.html">test_xdmf_uns_ddp_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_uns_hyperslabs_handler.html">test_xdmf_uns_hyperslabs_handler</a>
      
      <a class="list-group-item" href="../program/test_xdmf_xinclude.html">test_xdmf_xinclude</a>
      
      <a class="list-group-item" href="../program/try_compile_hdf5_mod.html">try_compile_hdf5_mod</a>
      
      <a class="list-group-item" href="../program/try_compile_mpi_mod.html">try_compile_mpi_mod</a>
      
      <a class="list-group-item" href="../program/wxml_example.html">wxml_example</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_rectilinear_grid.html">xh5for_ch_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_rectilinear_grid%7E2.html">xh5for_ch_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_rectilinear_grid%7E3.html">xh5for_ch_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E2.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E3.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E4.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_regular_grid%7E5.html">xh5for_ch_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_hexahedron.html">xh5for_ch_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_hexahedron%7E2.html">xh5for_ch_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_mixedtopology.html">xh5for_ch_unstructured_mixedtopology</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_mixedtopology%7E2.html">xh5for_ch_unstructured_mixedtopology</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_quadrilateral.html">xh5for_ch_unstructured_quadrilateral</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E2.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E3.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E4.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_tetrahedron%7E5.html">xh5for_ch_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_ch_unstructured_triangles.html">xh5for_ch_unstructured_triangles</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_rectilinear_grid.html">xh5for_dpp_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_rectilinear_grid%7E2.html">xh5for_dpp_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_rectilinear_grid%7E3.html">xh5for_dpp_rectilinear_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_regular_grid.html">xh5for_dpp_regular_grid</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_hexahedron.html">xh5for_dpp_unstructured_hexahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_mixedtopology.html">xh5for_dpp_unstructured_mixedtopology</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_quadrilateral.html">xh5for_dpp_unstructured_quadrilateral</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_tetrahedron.html">xh5for_dpp_unstructured_tetrahedron</a>
      
      <a class="list-group-item" href="../program/xh5for_dpp_unstructured_triangles.html">xh5for_dpp_unstructured_triangles</a>
      
    </div>
  </div>
</div>


  </section>
  
    <hr>    
    </div> <!-- /container -->
    <footer>
      <div class="container">
      <div class="row">
        <div class="col-xs-6 col-md-4"><p>&copy; 2016 </p></div>
        <div class="col-xs-6 col-md-4 col-md-push-4">
          <p class="text-right">
            Documentation generated by 
            <a href="https://github.com/cmacmackin/ford">FORD</a>
             on 2016-11-08T12:24:53.235950 
          </p>
        </div>
        <div class="col-xs-12 col-md-4 col-md-pull-4"><p class="text-center"> XH5For was developed by Víctor Sande Veiga</p></div>
      </div>
      <br>
      </div> <!-- /container -->    
    </footer>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
<!--
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
-->
    <script src="../js/bootstrap.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../js/ie10-viewport-bug-workaround.js"></script>

    <!-- MathJax JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'AMS' } },
        jax: ['input/TeX','input/MathML','output/HTML-CSS'],
        extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js'],
        'HTML-CSS': { 
           styles: { '.MathJax_Display, .MathJax .mo, .MathJax .mi, .MathJax .mn': {color: '#000000 ! important'} }
        }
      });
    </script>
    <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
    
    
    <script src="../tipuesearch/tipuesearch_content.js"></script>
    <link  href="../tipuesearch/tipuesearch.css" rel="stylesheet">
    <script src="../tipuesearch/tipuesearch_set.js"></script>
    <script src="../tipuesearch/tipuesearch.js"></script>
    
    
  </body>
</html>